projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb5f45
)
Fix data-directory when executing from an out-of-source build
author
Óscar Fuentes
<ofv@wanadoo.es>
Sat, 2 Nov 2019 17:01:01 +0000
(18:01 +0100)
committer
Óscar Fuentes
<ofv@wanadoo.es>
Sat, 2 Nov 2019 17:04:00 +0000
(18:04 +0100)
Fixes #36828.
* src/callproc.c (init_callproc): detect out-of-source build.
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index 007465cd4052a62e62a6e81e56c2c85ed1cafe8c..b51594c2d51d56061cb645c41ac47c54373b7897 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-1567,7
+1567,7
@@
init_callproc (void)
tem = Fexpand_file_name (build_string ("NEWS"), Vdata_directory);
if (!NILP (Fequal (srcdir, Vinvocation_directory))
- || NILP (Ffile_exists_p (tem)))
+ || NILP (Ffile_exists_p (tem))
|| !NILP (Vinstallation_directory)
)
{
Lisp_Object newdir;
newdir = Fexpand_file_name (build_string ("../etc/"), lispdir);